package com.cloud.qualitycontrol.util;

public class CommonVar {

    public static final String OPERATE_SUCCESS_STR = "success";
    public static final String OPERATE_FAILED_STR = "failed";

    //无法根据 parentId = null 来查询节点，约定 parentId="0"的节点为根节点
    public static final String ROOT_PARENT_ID = "0";

    public static final String QUALITY_NODE_JSON_KEY_ID = "id";
    public static final String QUALITY_NODE_JSON_KEY_NAME = "name";
    public static final String QUALITY_NODE_JSON_KEY_PARENTID = "parentId";
    public static final String QUALITY_NODE_JSON_KEY_ROOTID = "rootId";
    public static final String QUALITY_NODE_JSON_KEY_TYPE = "type";
    public static final String QUALITY_NODE_JSON_KEY_DESCRIPTION = "description";
    public static final String QUALITY_NODE_JSON_KEY_IS_AVAILABLE = "isAvailable";

}
